From e211c778377d3c99e1fa57d547fc807bc54350ca Mon Sep 17 00:00:00 2001 From: gregor herrmann Date: Sat, 15 Oct 2011 15:39:05 +0200 Subject: [PATCH] Imported Debian patch 0.0.22-1.1 --- babl/babl-model.c | 2 +- debian/TODO | 1 + debian/changelog | 21 +++++++++++++++++ debian/compat | 1 + debian/control | 39 ++++++++++++++++++++++++++++++++ debian/copyright | 30 ++++++++++++++++++++++++ debian/libbabl-0.0-0-dev.install | 3 +++ debian/libbabl-0.0-0.install | 2 ++ debian/libbabl-0.0-doc.docs | 4 ++++ debian/rules | 12 ++++++++++ 10 files changed, 114 insertions(+), 1 deletion(-) create mode 100644 debian/TODO create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/libbabl-0.0-0-dev.install create mode 100644 debian/libbabl-0.0-0.install create mode 100644 debian/libbabl-0.0-doc.docs create mode 100755 debian/rules diff --git a/babl/babl-model.c b/babl/babl-model.c index 5fd4908..16a99b2 100644 --- a/babl/babl-model.c +++ b/babl/babl-model.c @@ -46,7 +46,7 @@ create_name (const char *name, return name; while (components--) { - sprintf (p, (*component)->instance.name); + sprintf (p, "%s", (*component)->instance.name); p += strlen ((*component)->instance.name); component++; } diff --git a/debian/TODO b/debian/TODO new file mode 100644 index 0000000..0196c44 --- /dev/null +++ b/debian/TODO @@ -0,0 +1 @@ +Add -dbg package diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..5547077 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,21 @@ +babl (0.0.22-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Fix "FTBFS: babl-model.c:49:7: error: format not a string literal + and no format arguments [-Werror=format-security]": add patch from Bart + Martens (closes: #643356). + + -- gregor herrmann Sat, 15 Oct 2011 15:39:05 +0200 + +babl (0.0.22-1) unstable; urgency=low + + * New upstream release + + -- Ross Burton Mon, 16 Jun 2008 11:32:54 +0100 + +babl (0.0.20-1) unstable; urgency=low + + * First upload to Debian (Closes: #451250) + * Initially based on packaging by Étienne Bersac . + + -- Ross Burton Thu, 28 Feb 2008 08:41:14 +0000 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7ed6ff8 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +5 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..dc402e7 --- /dev/null +++ b/debian/control @@ -0,0 +1,39 @@ +Source: babl +Section: libs +Priority: optional +Maintainer: Ross Burton +Build-Depends: debhelper (>= 5), cdbs, autotools-dev +Standards-Version: 3.7.3 + +Package: libbabl-0.0-0 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Dynamic, any to any, pixel format conversion library + Babl is a dynamic, any to any, pixel format conversion library. It + provides conversions between the myriad of buffer types images can be + stored in. Babl doesn't only help with existing pixel formats, but + also facilitates creation of new and uncommon ones. + +Package: libbabl-0.0-0-dev +Architecture: any +Section: libdevel +Depends: ${misc:Depends}, libbabl-0.0-0 (= ${binary:Version}) +Description: Dynamic, any to any, pixel format conversion library (development files) + Babl is a dynamic, any to any, pixel format conversion library. It + provides conversions between the myriad of buffer types images can be + stored in. Babl doesn't only help with existing pixel formats, but + also facilitates creation of new and uncommon ones. + . + This package contains the development files. + +Package: libbabl-0.0-doc +Architecture: all +Section: doc +Depends: ${misc:Depends} +Description: Dynamic, any to any, pixel format conversion library (documentation) + Babl is a dynamic, any to any, pixel format conversion library. It + provides conversions between the myriad of buffer types images can be + stored in. Babl doesn't only help with existing pixel formats, but + also facilitates creation of new and uncommon ones. + . + This package contains the API documentation. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..05ea87d --- /dev/null +++ b/debian/copyright @@ -0,0 +1,30 @@ +This package was originally debianized by Étienne Bersac +on Tue, 20 Mar 2007 11:33:29 +0100. + +It was downloaded from http://www.gegl.org/babl + +Upstream Author: Øyvind Kolås + +Copyright: Copyright (C) 2005, Øyvind Kolås. + +License: + + This library is free software; you can redistribute it and/or modify it under + the terms of the GNU Lesser General Public License as published by the Free + Software Foundation; either version 3 of the License, or (at your option) any + later version. + + This library is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more + details. + + You should have received a copy of the GNU Lesser General Public License along + with this library; if not, write to the Free Software Foundation, Inc., 51 + Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + +On Debian GNU/Linux systems, the complete text of the GNU Lesser General Public +License can be found in `/usr/share/common-licenses/LGPL'. + +The Debian packaging is (C) 2007, Étienne Bersac and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. diff --git a/debian/libbabl-0.0-0-dev.install b/debian/libbabl-0.0-0-dev.install new file mode 100644 index 0000000..625887e --- /dev/null +++ b/debian/libbabl-0.0-0-dev.install @@ -0,0 +1,3 @@ +debian/tmp/usr/include/ +debian/tmp/usr/lib/libbabl*.so +debian/tmp/usr/lib/pkgconfig/ diff --git a/debian/libbabl-0.0-0.install b/debian/libbabl-0.0-0.install new file mode 100644 index 0000000..2aa2767 --- /dev/null +++ b/debian/libbabl-0.0-0.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/babl-*/ +debian/tmp/usr/lib/libbabl*.so.* diff --git a/debian/libbabl-0.0-doc.docs b/debian/libbabl-0.0-doc.docs new file mode 100644 index 0000000..4144316 --- /dev/null +++ b/debian/libbabl-0.0-doc.docs @@ -0,0 +1,4 @@ +docs/index.html +docs/Babl*.html +docs/babl.css +docs/graphics/ diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..12cb6cd --- /dev/null +++ b/debian/rules @@ -0,0 +1,12 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/utils.mk + +export LDFLAGS += -Wl,--as-needed + +binary-install/libbabl-0.0-doc:: + rm -f debian/$(cdbs_curpkg)/usr/share/doc/$(cdbs_curpkg)/graphics/Makefile* + +common-binary-predeb-arch:: list-missing -- 2.30.2